include ../../Makefile.conf
compile:
	mkdir -p tmp dist
	find tmp -name "*.class" -exec rm '{}' ';'
	-cp -r src/ ../core/src/ tmp/ 2> /dev/null
	$(JAVAC)  -cp $(BERKELEYDB_JE_LIB) -sourcepath tmp/src tmp/src/fr/cephb/dbsnptools/*.java
	$(JAR) cvf dist/dbsnptools.jar -C tmp/src .
	rm -rf tmp
clean:
	rm -rf tmp dist
	find ./ -name "*.class" -exec rm '{}' ';'
